package com.foolishbird.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

import com.foolishbird.sdk.params.bean.RegistObj;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;


public class RegisterRequestParams extends BaseRequestParams implements Serializable {

    private static final String SERVICE = "reg";



    public RegisterRequestParams() {
    }


    @SerializedName("extended_fb")
    private RegistObj extendedFB = new RegistObj();

    @Override
    public Object getBusinissJson() {
        return extendedFB;
    }

    public RegistObj getExtendedFB() {
        return extendedFB;
    }

    public void setExtendedFB(RegistObj extendedFB) {
        this.extendedFB = extendedFB;
    }

    public RegisterRequestParams(String user_name, String password) {
        this.extendedFB.setUsername(user_name);
        this.extendedFB.setPassword(password);
    }

    @Override
    public String getServiceString() {
        return SERVICE;
    }


}
